package com.hjm.project.BusinessInfo.BusinessInfo.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 图片对象 business_info
 * 
 * @author BusinessInfo
 * @date 2020-11-30
 */
public class BusinessInfo
{
    private static final long serialVersionUID = 1L;

    /** 主键编号 */
    private Long id;

    /** 对象编号 */
    @Excel(name = "对象编号")
    private long picId;

    /** 图片描述 */
    @Excel(name = "图片描述")
    private String describe;

    /** 图片URL */
    @Excel(name = "图片URL")
    private String url;

    /** 图片排序 */
    @Excel(name = "图片排序")
    private Long imgOrder;

    /** 图片是否有效 1有效，2无效 */
    @Excel(name = "图片是否有效 1有效，2无效")
    private Long status;

    /** 类别 1商品，2用户 */
    @Excel(name = "类别 1商品，2用户")
    private Long proType;
    String createTime;
    String updateTime;

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    /** 图片类型 1首页图片，2轮播banner图，3详情图，4营业执照，5身份证正面，6身份证反面，7银行卡照片，8 规格图 9身份证手持 10食品卫生许可证 11消息列表图标 */
    @Excel(name = "图片类型 1首页图片，2轮播banner图，3详情图，4营业执照，5身份证正面，6身份证反面，7银行卡照片，8 规格图 9身份证手持 10食品卫生许可证 11消息列表图标")
    private Long type;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPicId(long picId)
    {
        this.picId = picId;
    }

    public long getPicId()
    {
        return picId;
    }
    public void setDescribe(String describe)
    {
        this.describe = describe;
    }

    public String getDescribe()
    {
        return describe;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setImgOrder(Long imgOrder)
    {
        this.imgOrder = imgOrder;
    }

    public Long getImgOrder()
    {
        return imgOrder;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setProType(Long proType)
    {
        this.proType = proType;
    }

    public Long getProType()
    {
        return proType;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("picId", getPicId())
            .append("describe", getDescribe())
            .append("url", getUrl())
            .append("imgOrder", getImgOrder())
            .append("status", getStatus())
            .append("proType", getProType())
            .append("type", getType())
            .toString();
    }
}
